package com.shijie.newvideo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class VodBean implements Serializable {

    private Integer code;
    private String msg;
    private Integer page;
    private Integer pagecount;
    private Integer limit;
    private Integer total;
    private List<ListDTO> list;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPagecount() {
        return pagecount;
    }

    public void setPagecount(Integer pagecount) {
        this.pagecount = pagecount;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<ListDTO> getList() {
        if (list == null) {
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(List<ListDTO> list) {
        this.list = list;
    }

    public static class ListDTO implements Serializable {
        private String vod_id;
        private String vod_name;
        private String type_id;
        private String type_name;
        private String vod_en;
        private String vod_time;
        private String vod_remarks;
        private String vod_play_from;
        private String vod_pic;
        private String vod_pic_thumb;

        private String vod_play_url;

        public String getVod_play_url() {
            return vod_play_url == null ? "" : vod_play_url;
        }

        public void setVod_play_url(String vod_play_url) {
            this.vod_play_url = vod_play_url;
        }

        public String getVod_name() {
            return vod_name == null ? "" : vod_name;
        }

        public void setVod_name(String vod_name) {
            this.vod_name = vod_name;
        }

        public String getVod_id() {
            return vod_id == null ? "" : vod_id;
        }

        public void setVod_id(String vod_id) {
            this.vod_id = vod_id;
        }

        public String getType_id() {
            return type_id == null ? "" : type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getType_name() {
            return type_name == null ? "" : type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public String getVod_en() {
            return vod_en == null ? "" : vod_en;
        }

        public void setVod_en(String vod_en) {
            this.vod_en = vod_en;
        }

        public String getVod_time() {
            return vod_time == null ? "" : vod_time;
        }

        public void setVod_time(String vod_time) {
            this.vod_time = vod_time;
        }

        public String getVod_remarks() {
            return vod_remarks == null ? "" : vod_remarks;
        }

        public void setVod_remarks(String vod_remarks) {
            this.vod_remarks = vod_remarks;
        }

        public String getVod_play_from() {
            return vod_play_from == null ? "" : vod_play_from;
        }

        public void setVod_play_from(String vod_play_from) {
            this.vod_play_from = vod_play_from;
        }

        public String getVod_pic() {
            return vod_pic == null ? "" : vod_pic;
        }

        public void setVod_pic(String vod_pic) {
            this.vod_pic = vod_pic;
        }

        public String getVod_pic_thumb() {
            return vod_pic_thumb == null ? "" : vod_pic_thumb;
        }

        public void setVod_pic_thumb(String vod_pic_thumb) {
            this.vod_pic_thumb = vod_pic_thumb;
        }
    }

    @Override
    public String toString() {
        return "User{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", page=" + page +
                ", pagecount=" + pagecount +
                ", limit=" + limit +
                ", total=" + total +
                ", list=" + list +
                '}';
    }
}
